Skip to main content

ActionCardPledgeDescription

The ActionCardPledgeDescription displays a custom description with the user's name as the title.

Usage#

Since this component contains a custom title, this should only be used without an ActionCardTitle. Furthermore, this should be used with the ActionCardContent set to center and it should also use a SVG background image

import background from "..."
<ActionCardContent center backgroundImage={background}>    <ActionCardPledgeDescription description={"pledge to ...."} /></ActionCardContent>
note

The component automatically takes care of getting the user's name, as well as the "Jeg" ("I") part of the text before the name

Props#

NameTypeDefaultDescription
descriptionstringundefinedThe text after the name e.g. "Jeg ("I") NAME " + description